package com.telecom.restaurant.dao;

import com.telecom.restaurant.model.RestaurantPO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RestaurantDao {
    int deleteByPrimaryKey(Long id);

    int insert(RestaurantPO record);

    RestaurantPO selectByPrimaryKey(Long id);

    List<RestaurantPO> getAll();

    int updateByPrimaryKeySelective(RestaurantPO record);
}